package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
@Table(name = "CM_WK_WORK_RECORD", schema = "WANGBING", catalog = "")
// 对应数据表 CM_WK_WORK_RECORD 用于生成报表数据中的 作业施工记录
public class CM_WK_WorkRecord {
    @Id
    @GenericGenerator(name="cmWkWorkRecordGenerator", strategy="uuid")
    @GeneratedValue(generator="cmWkWorkRecordGenerator")
    // ID生成策略是否改为UUID -> String
    @Column(name = "CM_WK_WORK_RECORD_ID")
    private String CM_WK_WORK_RECORD_ID;

    @Basic
    @Column(name = "BA_WELL_ID")
    private String baWellId;

    @Basic
    @Column(name = "WELLNAME")
    private String wellName;

    @Basic
    @Column(name = "CASINGSIZE")
    private String casingSize;

    @Basic
    @Column(name = "WORK_NO")
    private Integer workNo;

    @Basic
    @Column(name = "START_TIME")
    private String startTime;

    @Basic
    @Column(name = "END_TIME")
    private String endTime;

    @Basic
    @Column(name = "WORK_ITEM")
    private String workItem;

    @Basic
    @Column(name = "VOL")
    private String vol;

    @Basic
    @Column(name = "DISP_MIN")
    private String dispMin;

    @Basic
    @Column(name = "DISP_MAX")
    private String dispMax;

    @Basic
    @Column(name = "FLUID_DENSITY")
    private String fluidDensity;

    @Basic
    @Column(name = "PUMP_MIN")
    private String pumpMin;

    @Basic
    @Column(name = "PUMP_MAX")
    private String pumpMax;

}
